<? 
include "checksession.php"; 
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Admin</title>
<link href="meta-style.css" rel="stylesheet" type="text/css" />
</head>

<body>

<? if ($_GET[error]) {
echo '<p class="normal"><b><font color=red>You must be an Admin to access that area!</font></b></p>';
	}
?>
<p align="center" class="title">Distance Education  Tracking  Database - Administrative Area</p>
<p align="center" class="normal">Choose an option:</p><div align="right" style="width:75%"><font color=white><a href="logout.php">Logout</a></font></div>
<table width="50%" border="0" cellspacing="5" cellpadding="5" align="center">
  <tr valign="top">
    <td colspan="2" bgcolor="#006699"><strong><font color=white>Manage Entries</font></strong></td>
  </tr>
  <tr valign="top">
    <td width="22%"><a href="calls.php?active=1">View all active tickets</a></td>
    <td width="22%"><a href="calls.php?active=2">View all closed tickets</a></td>
  </tr>
  <tr valign="top">
    <td width="22%"><a href="newcall.php">Add a new helpdesk ticket</a></td>
    <td width="22%"><a href="update_account.php">Update your  account</a></td>
  </tr> 
  <tr>
    <td><a href="search_calls.php">Search for an ticket</a></td>
    <td></td>
  </tr>
  <tr>
  <td colspan="2" bgcolor="#999999"><strong><font color=white>Edit Options: (ADMIN ONLY) </font></strong></td>
  </tr>
  <tr>
  <td width="22%"><a href="browsers.php">Modify Browser Options</a> </td>
    <td width="22%"><a href="computers.php">Modify Computer Type Options</a></td>
  </tr>
  <tr>
  <td width="22%"><a href="os.php">Modify Operating System Options</a> </td>
    <td width="22%"><a href="problems.php">Modify Problem Type Options </a></td>
  </tr>
  <tr>
   <td width="22%"><a href="users.php">Manage Users</a></td>
    <td width="22%"><a href="stats.php">View Call Stats</a></td>
  </tr>
</table>
</body>
</html>
